﻿<%@ Control Language="c#" AutoEventWireup="false" Codebehind="ArticleEdit.ascx.cs" Inherits="gdlmo.DNN.Modules.Article.ArticleEdit" %>
<%@ Register TagPrefix="dnn" TagName="Label" Src="~/controls/LabelControl.ascx" %>
<table id="tbArticleEdit" runat="server" cellSpacing="0" cellPadding="0" width="600" summary="Edit Article Design Table">
	<TR>
		<td class="SubHead" width="125"></td>
		<td width="400">
		</td>
	</TR>
	<tr vAlign="top">
		<td class="SubHead" width="150"><dnn:label id="plCategory" suffix=":" controlname="cboCategory" runat="server"></dnn:label></td>
		<td width="450"><asp:dropdownlist id="cboCategory" runat="server" cssclass="NormalTextBox" width="300" AutoPostBack="True"
				DataTextField="Name" DataValueField="CategoryID"></asp:dropdownlist><br>
			<asp:requiredfieldvalidator id="valCategory" runat="server" Display="Dynamic" ErrorMessage="You Must Select A Category For The Article"
				ControlToValidate="cboCategory" CssClass="NormalRed" resourcekey="Category.ErrorMessage"></asp:requiredfieldvalidator></td>
	</tr>
	<tr vAlign="top">
		<td class="SubHead"><dnn:label id="plTitle" suffix=":" controlname="txtTitle" runat="server"></dnn:label></td>
		<td><asp:textbox id="txtTitle" runat="server" cssclass="NormalTextBox" width="300" maxlength="255"></asp:textbox><br>
			<asp:requiredfieldvalidator id="valTitle" runat="server" Display="Dynamic" ErrorMessage="You Must Enter A Title For The Article"
				ControlToValidate="txtTitle" CssClass="NormalRed" resourcekey="Title.ErrorMessage"></asp:requiredfieldvalidator></td>
	</tr>
	<tr vAlign="top">
		<td class="SubHead"><dnn:label id="plKeyWords" suffix=":" controlname="txtKeyWords" runat="server"></dnn:label></td>
		<td><asp:textbox id="txtKeyWords" CssClass="NormalTextBox" Width="300" MaxLength="255" Runat="server"></asp:textbox>
		</td>
	</tr>
	<tr vAlign="top">
		<td class="SubHead"><dnn:label id="plAuthor" suffix=":" controlname="txtAuthor" runat="server"></dnn:label></td>
		<td><asp:textbox id="txtAuthor" CssClass="NormalTextBox" Width="300" MaxLength="255" Runat="server"></asp:textbox>
			<asp:requiredfieldvalidator id="Requiredfieldvalidator2" runat="server" Display="Dynamic" ErrorMessage="please input author"
				ControlToValidate="txtAuthor" CssClass="NormalRed" resourcekey="Author.ErrorMessage"></asp:requiredfieldvalidator>
		</td>
	</tr>
	<tr vAlign="top">
		<td class="SubHead"><dnn:label id="plDeptName" suffix=":" controlname="txtCopyFrom" runat="server"></dnn:label></td>
		<td>
			<asp:DropDownList id="dlsDept" runat="server"></asp:DropDownList></FONT></td>
	</tr>
	<tr valign="top">
		<td class="SubHead" height="26"><dnn:label id="plCreatedDate" suffix=":" controlname="txtCreatedDate" runat="server"></dnn:label></td>
		<td height="26">
			<asp:TextBox id="txtCreatedDate" runat="server" ReadOnly="True"></asp:TextBox>
		</td>
	</tr>
	<tr valign="top">
		<td class="SubHead" height="26"><dnn:label id="plSummary" suffix=":" controlname="txtSummary" runat="server"></dnn:label></td>
		<td height="26">
			<asp:TextBox id="txtSummary" runat="server" Width="100%" TextMode="MultiLine" Height="108px"></asp:TextBox>
			<asp:requiredfieldvalidator id="valSummary" runat="server" Display="Dynamic" ErrorMessage="You should input the summary for this artile"
				ControlToValidate="txtSummary" CssClass="NormalRed" resourcekey="Summary.ErrorMessage"></asp:requiredfieldvalidator>
		</td>
	</tr>
	<tr vAlign="top">
		<td class="SubHead">
			<dnn:label id="plContent" suffix=":" controlname="txtSummary" runat="server"></dnn:label></FONT></td>
		<td><INPUT id="flContent" type="file" size="52" runat="server" NAME="flContent"><BR>
			<INPUT id="File1" type="file" size="52" name="flContent" runat="server"><BR>
			<INPUT id="File2" type="file" size="52" name="flContent" runat="server"><BR>
			<INPUT id="File3" type="file" size="52" name="flContent" runat="server"><BR>
			<INPUT id="File4" type="file" size="52" name="flContent" runat="server"><BR>
			</FONT></td>
	</tr>
	<tr>
		<td colspan="2" align="center">
			<asp:linkbutton id="cmdUpdate" CssClass="CommandButton" runat="server" BorderStyle="None" resourcekey="cmdUpdate">Update</asp:linkbutton>&nbsp;
			<asp:linkbutton id="cmdCancel" CssClass="CommandButton" runat="server" CausesValidation="False"
				BorderStyle="None" resourcekey="cmdCancel">Cancel</asp:linkbutton>&nbsp;
			<asp:linkbutton id="cmdDelete" CssClass="CommandButton" runat="server" CausesValidation="False"
				BorderStyle="None" Visible="False" resourcekey="cmdDelete">Delete</asp:linkbutton>&nbsp;
		</td>
	</tr>
	<tr>
		<td colspan="2"><FONT face="宋体"></FONT></td>
	</tr>
</table>
